/**
 * HLWSSO：com.unionpay.hlwsso.common.constant：TreeNode
 * TODO
 */
package com.aeky.simple.vo.tree;

import java.util.List;

/**
 * 树节点
 * 
 * @author wanghui
 * 
 */
public class TreeNode {

    /** 节点ID */
    private String id;

    /** 节点名称 */
    private String text;

    /** 节点状态(closed:关闭,open:展开) */
    private String state = "closed";

    /** 是否选中 */
    private boolean checked = false;

    /** 附加属性 */
    private Attributes attributes = new Attributes();

    /** 图标css */
    private String iconCls = "";

    /** 子节点 */
    private List<TreeNode> children;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public Attributes getAttributes() {
        return attributes;
    }

    public void setAttributes(Attributes attributes) {
        this.attributes = attributes;
    }

    public String getIconCls() {
        return iconCls;
    }

    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }

    public List<TreeNode> getChildren() {
        return children;
    }

    public void setChildren(List<TreeNode> children) {
        this.children = children;
    }
}
